import request from '@/utils/request'

// 获得商家列表信息
export function getMerchantList (params) {
  return request({
    url: '/merchant/getMerchantList',
    method: 'post',
    params
  })
}

// 创建或修改商家信息
export function createOrUpdateMerchantInfo (params) {
  return request({
    url: '/merchant/createOrUpdateMerchantInfo',
    method: 'post',
    params
  })
}